﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
using OA.Web.Code;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;


namespace OA.Web.Areas.Member.Controllers
{
    public class TipsController : BaseMemberController
    {
        private IMemoryCache _cache;
        private ICookie _cookie;
        public TipsController(ICookie cookie, IHttpContextAccessor accessor, IMemoryCache cache) : base(accessor, cookie, cache)
        {
            _cache = cache;
            _cookie = cookie;
        }

        public IActionResult Index(string msg)
        {
            ViewBag.Msg = msg;
            return View();
        }
	}
}